package com.ebraga.trackerclub.android.dao.service;

import com.ebraga.trackerclub.android.dao.core.PositionDaoImpl;
import com.ebraga.trackerclub.android.util.api.AndroidContentValues;
import com.ebraga.trackerclub.android.util.api.DataAccessObject;
import com.ebraga.trackerclub.android.util.core.AndroidContentValuesImpl;

public class PositionServiceDao extends PositionDaoImpl {

	public PositionServiceDao(DataAccessObject dataAccessObjectImpl) {
		super(dataAccessObjectImpl);
		
		String enviroment = System.getProperty("Enviroment");
		
		if ( enviroment == null || !enviroment.equals("UNIT_TEST") ) {
			
			super.setContentValues( new AndroidContentValuesImpl() );
			
		}
	}
	
	public void setContentValues( AndroidContentValues contentValues ) {
		super.setContentValues(contentValues);
	}
}
